package com.mbc.rmt.dao;

import java.sql.SQLException;
import java.util.List;

import com.mbc.common.param.CriteriaParams;
import com.mbc.rmt.data.ACGroupDetailDataList;
import com.mbc.rmt.entities.ACGroupDetail;

public interface ACGroupDetailDAO {
	public void create(ACGroupDetail entity) throws SQLException;

	public void update(ACGroupDetail entity) throws SQLException;

	public void delete(long key) throws SQLException;

	public ACGroupDetail find(long key) throws SQLException;

	public ACGroupDetail findByCode(String code,long branchId) throws SQLException;

	public List<ACGroupDetail> findAll() throws SQLException;

	public ACGroupDetailDataList findACGroupDetails(CriteriaParams cri)
			throws SQLException;

	public List<ACGroupDetail> getACGroupDetailList(ACGroupDetail info) throws SQLException;
	
}
